//
//  HttpBaseApi.h
//  Safflower
//
//  Created by 袁亮 on 2016/11/28.
//  Copyright © 2016年 Migic_Z. All rights reserved.
//

#ifndef HttpBaseApi_h
#define HttpBaseApi_h

/**
 基础ip地址
 
 @return base ip
 */
#define BaseIp @"http://migicz.cc/itask"

//#define BaseIp @"http://127.0.0.1/redflower"

/**
 基础api地址

 @return base api
 */
#define BaseApi @"http://migicz.cc/itask/api"

//#define BaseApi @"http://127.0.0.1/redflower/api"


#define HomeCarousel [NSString stringWithFormat:@"%@%@",BaseApi,@"/carousel/carousel.php"]       //首页轮播图片


#define UserLogin [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/login.php"]                 //用户登陆

#define SendVerify [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/sendmessage.php"]          //发送验证码

#define VerifyCode [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/sendmessage.php"]          //验证码验证

#define RegsitAccount [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/regist.php"]            //注册账号

#define UploadAvatar [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/avatar.php"]             //更新头像

#define MUsername [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/m.username.php"]            //修改昵称

#define MSign [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/m.sign.php"]                    //修改签名

#define MAddress [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/m.address.php"]              //修改地址

#define MSex [NSString stringWithFormat:@"%@%@",BaseApi,@"/user/m.sex.php"]                      //修改性别



#define PushTask [NSString stringWithFormat:@"%@%@",BaseApi,@"/task/pushtask.php"]               //发布任务

#define TaskList [NSString stringWithFormat:@"%@%@",BaseApi,@"/task/tasklist.php"]               //被指定的任务列表

#define ReceiveTask [NSString stringWithFormat:@"%@%@",BaseApi,@"/task/receivetask.php"]         //接受任务

#define MineTaskList [NSString stringWithFormat:@"%@%@",BaseApi,@"/task/minetasklist.php"]       //我发布的任务列表



#define FriendList [NSString stringWithFormat:@"%@%@",BaseApi,@"/friend/friendlist.php"]         //获取朋友列表

#define FriendInviteList [NSString stringWithFormat:@"%@%@",BaseApi,@"/friend/invitelist.php"]   //被邀请好友信息列表

#define AgreeFriend [NSString stringWithFormat:@"%@%@",BaseApi,@"/friend/receivefriend.php"]     //同意成为好友

#define SearchFriend [NSString stringWithFormat:@"%@%@",BaseApi,@"/friend/searchfriend.php"]     //查找好友

#define AddFriend [NSString stringWithFormat:@"%@%@",BaseApi,@"/friend/addfriend.php"]           //添加好友

#define ModifyRemark [NSString stringWithFormat:@"%@%@",BaseApi,@"/friend/remark.php"]           //修改好友备注

#define DeleteFriend [NSString stringWithFormat:@"%@%@",BaseApi,@"/friend/deletefriend.php"]     //删除好友



#define SignList [NSString stringWithFormat:@"%@%@",BaseApi,@"/sign/signlist.php"]               //获取对应的task签到

#define SignIn [NSString stringWithFormat:@"%@%@",BaseApi,@"/sign/signin.php"]                   //对应的日期签到

#endif /* HttpBaseApi_h */
